<section id="registration-page">
    <div class="row">
        <div class="container">
            <div class="col-lg-12">
                <div id="bread">
                    <ol class="breadcrumb">
                        <li><a href="<?php echo SITE_URL; ?>">Home</a></li>

                        <li class="active">Trainer Registration</li>
                    </ol>
                </div><!-- breadcrumb div ends here -->
            </div>

            <div class="registration-wrap">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                    <div class="trainer-registration-form" style="display: block !important;">
                        
                        <?php
                        $form = $this->beginWidget('CActiveForm', array(
                            'id' => 'trainer-registration',
                            //'action' => $this->createUrl('Users/userRegistration'),
                            'enableAjaxValidation' => true,
                            'htmlOptions' => array('enctype' => 'multipart/form-data', 'class' => 'form-horizontal'),
                                ));
                        ?>
                        

                        <div class="notice">
                            Fields with <span>*</span> are required 

                        </div>
                       
                        <div class="form-group">
                            <label for="inputEmail" class="col-sm-4">USERNAME/ EMAILID<span class="redit">*</span>:</label>
                            <div class="col-sm-8">
                                <?php echo $form->textField($model, 'username', array('maxlength' => 50, 'class' => 'form-control txtinput')); ?>
                                <?php echo $form->error($model, 'username'); ?>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="inputPassword" class="col-sm-4 control-label">Password<span>*</span>:</label>
                            <div class="col-sm-8">
                                <?php echo $form->passwordField($model, 'password', array('maxlength' => 50, 'class' => 'form-control txtinput')); ?>
                                <?php echo $form->error($model, 'password'); ?>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="confirm" class="col-sm-4 control-label">confirm
                                Password<span>*</span>:</label>
                            <div class="col-sm-8">
                                <?php echo $form->passwordField($model, 'confirm_password', array('maxlength' => 50, 'class' => 'form-control txtinput')); ?>
                                <?php echo $form->error($model, 'confirm_password'); ?>
                            </div>
                        </div>


                        <div class="form-group">
                            <div class="checkbox choice">
                                <?php echo CHtml::CheckBox('Users[issubscribe]', false, array('value' => '1', 'autocomplete' => 'off')); ?><label for="Users_issubscribe"><?php echo Message::SUBSCRIVE_NEWS_LETTER; ?></label>
                            </div>

                        </div>

                        <div class="click">
                            <?php echo GxHtml::submitButton(Yii::t('app', 'Registration'), array('id' => 'registration', 'class' => 'btn')); ?>
                        </div>

                        <?php
                        $this->endWidget();
                        ?>
                    </div>
                    </div>
                <div class="col-lg-offset-1 col-lg-5 col-md-offset-1 col-md-5 col-sm-offset-1 col-sm-5 col-xs-12">

                    <div class="social-button">
                       <a href="<?php echo Message::GOOGLE_URL; ?>"><img src="<?php echo ThemePath(); ?>/images/google.png" class="img-responsive" alt=""></a>   
                            <a href="<?php echo baseUrl(); ?>site/index/<?php echo Message::FACEBOOK_URL; ?>"><img src="<?php echo ThemePath(); ?>/images/facebook.png" class="img-responsive" alt=""></a>
                    </div>  
                </div> 
                </div>

                
            </div><!--registration-wrap ends-->  
        </div><!--container ends-->
    </div><!--row ends-->
</section>
